package com.ruoyi.project.channel.channelAccount.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 通道账户表 channel_account
 *
 * @author ruoyi
 * @date 2019-04-09
 */
public class ChannelAccount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String accountId;
    /**
     * 通道ID
     */
    private String parentId;
    /**
     * 账号
     */
    private String account;
    /**
     * 商户编号
     */
    private Long businessId;
    /**
     * 商户编号
     */
    private Long channelUserId;
    /**
     * 密钥
     */
    private String lskey;
    /**
     * 商家账户
     */
    private String appid;
    /**
     * 安全码
     */
    private String appsecret;
    /**
     * 轮询权重
     */
    private BigDecimal lsqz;
    /**
     * 费率模式
     */
    private String flms;
    /**
     * 风控模式
     */
    private String fkms;
    /**
     * 防封域名
     */
    private String ffym;
    /**
     * 别名
     */
    private String alias;
    /**
     * 状态（0正常 1停用）
     */
    private String status;

    //     <result property="bankMessageNo"    column="bank_message_no"    />
//        <result property="phoneNo"    column="phone_no"    />
//        <result property="cardId"    column="card_id"    />
//        <result property="bankMark"    column="bank_mark"    />
//        <result property="bankName"    column="bank_name"    />
    private String bankMessageNo;
    private String phoneNo;
    private String cardId;
    private String bankMark;
    private String bankName;
    private String payType;
    private String payLabel;
    private String riskStatus;
    private String address;
    private String channelUserName;
    private String groupName;
    private BigDecimal amount;
    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getAccount() {
        return account;
    }

    public void setLskey(String lskey) {
        this.lskey = lskey;
    }

    public String getLskey() {
        return lskey;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppsecret(String appsecret) {
        this.appsecret = appsecret;
    }

    public String getAppsecret() {
        return appsecret;
    }

    public void setLsqz(BigDecimal lsqz) {
        this.lsqz = lsqz;
    }

    public BigDecimal getLsqz() {
        return lsqz;
    }

    public void setFlms(String flms) {
        this.flms = flms;
    }

    public String getFlms() {
        return flms;
    }

    public void setFkms(String fkms) {
        this.fkms = fkms;
    }

    public String getFkms() {
        return fkms;
    }

    public void setFfym(String ffym) {
        this.ffym = ffym;
    }

    public String getFfym() {
        return ffym;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }


    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("accountId", getAccountId())
                .append("parentId", getParentId())
                .append("account", getAccount())
                .append("businessId", getBusinessId())
                .append("channelUserId", getChannelUserId())
                .append("lskey", getLskey())
                .append("appid", getAppid())
                .append("appsecret", getAppsecret())
                .append("lsqz", getLsqz())
                .append("flms", getFlms())
                .append("fkms", getFkms())
                .append("ffym", getFfym())
                .append("alias", getAlias())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

    public Long getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }

    public Long getChannelUserId() {
        return channelUserId;
    }

    public void setChannelUserId(Long channelUserId) {
        this.channelUserId = channelUserId;
    }

    public String getBankMessageNo() {
        return bankMessageNo;
    }

    public void setBankMessageNo(String bankMessageNo) {
        this.bankMessageNo = bankMessageNo;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getBankMark() {
        return bankMark;
    }

    public void setBankMark(String bankMark) {
        this.bankMark = bankMark;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getRiskStatus() {
        return riskStatus;
    }

    public void setRiskStatus(String riskStatus) {
        this.riskStatus = riskStatus;
    }

    public String getPayLabel() {
        return payLabel;
    }

    public void setPayLabel(String payLabel) {
        this.payLabel = payLabel;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getChannelUserName() {
        return channelUserName;
    }

    public void setChannelUserName(String channelUserName) {
        this.channelUserName = channelUserName;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
}
